Skip to main content

DateObject

DateObject[] gives the current local date.

DateObject[date] gives a date object corresponding to the given date specification.

DateObject[rdate,gran] gives the date object of calendar granularity gran that includes the reference date rdate.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.